/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jpa.entities;

import java.io.Serializable;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author bsmith
 */
@Entity
@Table(name = "merchantassociatedcateogoriesview")
@XmlRootElement
@NamedQueries({
    @NamedQuery(name = "Merchantassociatedcateogoriesview.findAll", query = "SELECT m FROM Merchantassociatedcateogoriesview m"),
    @NamedQuery(name = "Merchantassociatedcateogoriesview.findByMerchantid", query = "SELECT m FROM Merchantassociatedcateogoriesview m WHERE m.merchantid = :merchantid"),
    @NamedQuery(name = "Merchantassociatedcateogoriesview.findByCategoryid", query = "SELECT m FROM Merchantassociatedcateogoriesview m WHERE m.categoryid = :categoryid"),
    @NamedQuery(name = "Merchantassociatedcateogoriesview.findByMerchant", query = "SELECT m FROM Merchantassociatedcateogoriesview m WHERE m.merchant = :merchant"),
    @NamedQuery(name = "Merchantassociatedcateogoriesview.findByStore", query = "SELECT m FROM Merchantassociatedcateogoriesview m WHERE m.store = :store"),
    @NamedQuery(name = "Merchantassociatedcateogoriesview.findByCategory", query = "SELECT m FROM Merchantassociatedcateogoriesview m WHERE m.category = :category"),
    @NamedQuery(name = "Merchantassociatedcateogoriesview.findByMatcher", query = "SELECT m FROM Merchantassociatedcateogoriesview m WHERE m.matcher = :matcher")})
public class Merchantassociatedcateogoriesview implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @Basic(optional = false)
    @NotNull
    @Column(name = "merchantid")
    private int merchantid;
    @Basic(optional = false)
    @NotNull
    @Column(name = "categoryid")
    private int categoryid;
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 45)
    @Column(name = "merchant")
    private String merchant;
    @Size(max = 45)
    @Column(name = "store")
    private String store;
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 45)
    @Column(name = "category")
    private String category;
    @Basic(optional = false)
    @NotNull
    @Size(min = 1, max = 128)
    @Column(name = "matcher")
    private String matcher;

    public Merchantassociatedcateogoriesview() {
    }

    public int getMerchantid() {
        return merchantid;
    }

    public void setMerchantid(int merchantid) {
        this.merchantid = merchantid;
    }

    public int getCategoryid() {
        return categoryid;
    }

    public void setCategoryid(int categoryid) {
        this.categoryid = categoryid;
    }

    public String getMerchant() {
        return merchant;
    }

    public void setMerchant(String merchant) {
        this.merchant = merchant;
    }

    public String getStore() {
        return store;
    }

    public void setStore(String store) {
        this.store = store;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getMatcher() {
        return matcher;
    }

    public void setMatcher(String matcher) {
        this.matcher = matcher;
    }
    
}
